package input;

import java.io.FileInputStream;
import java.io.IOException;

public class InputDemo2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("F:\\111\\a.txt");
        /*while (true){
            System.out.println( fis.read());
        }*/

        int b;
        while ((b = fis.read()) != -1) {
            System.out.println((char) b);

        }
        fis.close();

    }
}